package com.csap.framework.oauth2.request;

import com.csap.framework.annotation.apidoc.ApiModel;
import com.csap.framework.annotation.apidoc.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

/**
 * @Author ycf
 * @Date 2023/11/22 23:27
 * @Version 1.0
 */
@Data
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserPermissionsVo {
    /**
     * 用户Id
     */
    @ApiModelProperty(value = "用户Id")
    private String openId;
    /**
     * 拥有的权限[1,2]
     */
    @ApiModelProperty(value = "拥有的权限[1,2]")
    private Set<String> permissions;
}
